package com.member.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizMarketPageCategory;

import java.util.List;

/**
 * 营销页面分类定义Mapper接口
 *
 * @author lixinchen
 * @date 2025-02-14
 */
public interface SysBizMarketPageCategoryMapper extends BaseMapper<SysBizMarketPageCategory> {
    /**
     * 查询营销页面分类定义
     *
     * @param id 营销页面分类定义主键
     * @return 营销页面分类定义
     */
    public SysBizMarketPageCategory selectSysBizMarketPageCategoryById(Long id);

    /**
     * 查询营销页面分类定义列表
     *
     * @param sysBizMarketPageCategory 营销页面分类定义
     * @return 营销页面分类定义集合
     */
    public List<SysBizMarketPageCategory> selectSysBizMarketPageCategoryList(SysBizMarketPageCategory sysBizMarketPageCategory);

    /**
     * 新增营销页面分类定义
     *
     * @param sysBizMarketPageCategory 营销页面分类定义
     * @return 结果
     */
    public int insertSysBizMarketPageCategory(SysBizMarketPageCategory sysBizMarketPageCategory);

    /**
     * 修改营销页面分类定义
     *
     * @param sysBizMarketPageCategory 营销页面分类定义
     * @return 结果
     */
    public int updateSysBizMarketPageCategory(SysBizMarketPageCategory sysBizMarketPageCategory);

    /**
     * 删除营销页面分类定义
     *
     * @param id 营销页面分类定义主键
     * @return 结果
     */
    public int deleteSysBizMarketPageCategoryById(Long id);

    /**
     * 批量删除营销页面分类定义
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizMarketPageCategoryByIds(Long[] ids);
}